\name{predictions}
\alias{predictions}
\title{Simple regression predictions}
\description{Do predictions with a selected single regression model for given values of explanatory variable.}
\usage{predictions(regModel, data)}
\arguments{
  \item{regModel}{Is a regression model.}
  \item{data}{Is a vector with values for the explanatory variable.}
}
\author{Alfredo Sánchez Alberca \email{asalber@gmail.com}}
\examples{
x <- rnorm(100)
y = 10+5*x+rnorm(100)
model <- lm(y~x)
predictions(model,c(0,0.5,1,1.5,2))
}
\seealso{predict}
\keyword{regression}
